﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace Arroguella.Entities
{
    /// <summary>
    /// A MoneyEntity is some entity that doesn't go to inventory,
    /// but rather simply adds to the player's Money value.
    /// </summary>
    public class MoneyEntity : Entity
    {
        /// <summary>
        /// Constructs a MoneyEntity
        /// </summary>
        /// <param name="name"></param>
        /// <param name="symbol"></param>
        /// <param name="color"></param>
        /// <param name="value">The amount the MoneyEntity is worth, in GP</param>
        public MoneyEntity(string name, char symbol, Color color, float value) : base(name, symbol, color)
        {
            Value = value;
            IsVisible = true;
        }

        #region Properties

        public float Value { get; set; }

        #endregion
    }
}
